﻿//Write an expression that checks
//if a given number id odd or even

using System;

namespace OperatorsAndExpressions
{
    class CheckNumber
    {
        static void Main()
        {
            Console.Write("Please enter a number: ");
            int a = int.Parse(Console.ReadLine());
            Console.WriteLine((a % 2 == 0) ? "The number is even." : "The number is odd." );
        }
    }
}
